<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Untitled Page</title>
	<script type="text/javascript">

    window.parent.eval( 'var MyObject = new Object();' ) ;

	</script>
</head>
<body>
	<p>
		This is the inner window. The following script is executed here and should define
		an object in the parent window:
	</p>
	<pre>
		window.parent.eval( 'var MyObject = new Object();' ) ;
	</pre>
	<p>
		The following button must alert "undefined":
	</p>
	<input type="button" value="alert( typeof MyObject ) in the inner window" onclick="alert( typeof MyObject );" />
</body>
</html>
